package cn.com.yx.ms.domain.sys;

import java.util.Date;
import java.util.List;

/**
 * @author ZHUL
 * @version V1.0
 * @Title: 部门信息
 * @Package cn.com.yx.ms.domain.sys
 * @Description: 部门信息实体
 * @date 2017-02-10 16:05
 */
public class OrgModel {

    private String id;
    private String name;
    private String orgcode;
    private String parentid;
    private String number;
    private int orderindex;
    private Date createtime;
    private String memo;
    private int isdeleted;
    private String domainid;
    private int isleaf;
    private List<OrgModel> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgcode() {
        return orgcode;
    }

    public void setOrgcode(String orgcode) {
        this.orgcode = orgcode;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public int getOrderindex() {
        return orderindex;
    }

    public void setOrderindex(int orderindex) {
        this.orderindex = orderindex;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public int getIsdeleted() {
        return isdeleted;
    }

    public void setIsdeleted(int isdeleted) {
        this.isdeleted = isdeleted;
    }

    public String getDomainid() {
        return domainid;
    }

    public void setDomainid(String domainid) {
        this.domainid = domainid;
    }

    public int getIsleaf() {
        return isleaf;
    }

    public void setIsleaf(int isleaf) {
        this.isleaf = isleaf;
    }

    public List<OrgModel> getChildren() {
        return children;
    }

    public void setChildren(List<OrgModel> children) {
        this.children = children;
    }
}
